package com.guoxue.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.guoxue.dao.IIOSDeviceDao;
import com.guoxue.domain.IOSDeviceVo;
import com.guoxue.service.IIOSDeviceService;

@Service
public class IOSDeviceServiceImpl implements IIOSDeviceService{
	
	@Resource
	private IIOSDeviceDao IOSDeviceDao;

	@Override
	public List<IOSDeviceVo> getIOSDeviceList() {
		return IOSDeviceDao.getIOSDeviceList();
	}

	@Override
	public void saveIOSDevice(IOSDeviceVo iOSDeviceVo) {
		IOSDeviceDao.saveIOSDevice(iOSDeviceVo);
	}

	@Override
	public IOSDeviceVo getIOSDevice(Integer uid) {
		return IOSDeviceDao.getIOSDevice(uid);
	}

	@Override
	public void delIOSDevice(Integer uid) {
		IOSDeviceDao.delIOSDevice(uid);
	}

	@Override
	public List<IOSDeviceVo> getIOSDeviceList(int i) {
		return IOSDeviceDao.getIOSDeviceList(i);
	}

	@Override
	public IOSDeviceVo getIOSDevice(int followed, int i) {
		return IOSDeviceDao.getIOSDevice(followed,i);
	}

}
